package a.fuzhou;

/**
 * ClassName : a.fuzhou.TuZi
 * Desc : TODO
 *
 * @author : LINPQ
 * @date : 2020/12/19 19:02
 */
public class TuZi extends ShiCaoAnimal{



    private String tuname = "sss";
    private String ziname;

    private String password;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        if(password==null){
            System.out.println("对不起，密码不能重置为空！");
            return;
        }
        if(password.length()<8){
            System.out.println("对不起，密码长度不足8位！");
            return;
        }
        this.password = password;
    }

    public String getTuname() {
        return tuname;
    }

    public void setTuname(String tuname) {


        this.tuname = tuname;
    }

    public String getZiname() {
        return ziname;
    }

    public void setZiname(String ziname) {
        this.ziname = ziname;
    }
}
